import request from '../utils/request';

// 获取科室树状结构（后端缓存，无需登录）
export const getDepartmentTree = async () => {
    const res = await request.get('/department/tree');
    return res.data.data;
}; 